/**
 * jims
 */
package com.jims.master.modules.operation.entity;

import com.jims.master.common.persistence.DataEntity;
import com.jims.master.modules.sys.entity.User;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * 手术人员表Entity
 * @author ZhuQ
 * @version 2017-04-13
 */
public class OperationStaffAfter extends DataEntity<OperationStaffAfter> {
	
	private static final long serialVersionUID = 1L;
    private String scheduleId;		// 安排手术表id
    private String operationLocal;		// 手术位置0主刀医生,1麻醉医师，2输血医生，3麻醉助手，4医生助手，5上台护士，6供应护士
    private User user;		// 人员ID
    private String userIds;	//人员ID串
    private String userId; //人员ID
    private String userNames;	//人员名称串
	
	public OperationStaffAfter() {
		super();
	}

	public OperationStaffAfter(String id){
		super(id);
	}

	@Length(min=1, max=64, message="术后表id长度必须介于 1 和 64 之间")
	public String getScheduleId() {
		return scheduleId;
	}

	public void setScheduleId(String scheduleId) {
		this.scheduleId = scheduleId;
	}
	
	public String getOperationLocal() {
		return operationLocal;
	}

	public void setOperationLocal(String operationLocal) {
		this.operationLocal = operationLocal;
	}
	
	@NotNull(message="人员ID不能为空")
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	@Length(min=1, max=64, message="机构ID长度必须介于 1 和 64 之间")
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

    public String getUserIds() {
        return userIds;
    }

    public void setUserIds(String userIds) {
        this.userIds = userIds;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserNames() {
        return userNames;
    }

    public void setUserNames(String userNames) {
        this.userNames = userNames;
    }
}